@import "./mixin";
.m-mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
    -webkit-transition: opacity .1s linear;
    transition: opacity .1s linear;
    transition-duration: .2s;
    -webkit-transition-duration: .2s;
    pointer-events: auto;
}
.popup-open {
    overflow: hidden;
}
.m-popup {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    z-index: 12;
    .popup {
        color: #484746;
        width: 275px;
        border-radius: 4px;
        max-width: 100%;
        max-height: 90%;
        background-color: hsla(0,0%,100%,.9);
        display: -webkit-box;
        display: flex;
        -webkit-box-direction: normal;
        -webkit-box-orient: vertical;
        flex-direction: column;
    }
}
.popup-showing {
    -webkit-animation-name: g;
    animation-name: g;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.popup-hidden {
    -webkit-animation-name: f;
    animation-name: f;
    -webkit-animation-duration: .1s;
    animation-duration: .1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
@-webkit-keyframes g {
    0% {
        -webkit-transform: scale(1.3);
        opacity: 0
    }
    to {
        -webkit-transform: scale(1);
        opacity: 1
    }
}

@keyframes g {
    0% {
        transform: scale(1.3);
        opacity: 0
    }
    to {
        transform: scale(1);
        opacity: 1
    }
}
@-webkit-keyframes f {
    0% {
        -webkit-transform: scale(1);
        opacity: 1
    }
    to {
        -webkit-transform: scale(.8);
        opacity: 0
    }
}

@keyframes f {
    0% {
        transform: scale(1);
        opacity: 1
    }
    to {
        transform: scale(.8);
        opacity: 0
    }
}
